<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="headbox">
	<div class="headtit">
    	<div class="headtitbox">

            
            
            
            
            <ul class="menubox">
             <li><a class="menu" href="${ctx}/">首页</a></li>
            <c:if test="${empty sessionScope.name}" > 
    	        <li><a class="menu" style=" color:#e40c00;" href="${ctx }/login">请登录</a></li>
    	    </c:if>
            <c:if test="${!empty sessionScope.name}" > 	
                <li><a class="menu" href="${ctx }/myorder">我的订单</a></li>
                <li><a class="menu" href="${ctx }/myorder">修改密码</a></li>
                <li><a class="menu" href="${ctx }/logout">退出</a></li>
            </c:if>
                <li><a class="menu" href="${ctx}/cmslist?cmsCategory=2&loginType=1">帮助中心</a></li>
            </ul>

    
            <div class="phonebox">
            	<i class="icon-pic"></i>
                <div class="tellnum">0731-83778539</div>
            </div>
            
            <div class="phonebox">
              <c:if test="${!empty sessionScope.name}" > 	
		       	您好！ ${sessionScope.name}
		      </c:if>
		  </div>    
        </div>
    </div>
    <div class="site-head">
    	<h1 class="logo"><a href="${ctx }"></a></h1>
        <div class="search">
			<form name="search" action="${ctx }/searchresult" method="post">
			<input type="hidden" name="qtype" value="1" />
        	<input class="search-ipt" name="prodname" placeholder="请输入商品名称" value="${prodname}"></input>
            <button class="search-btn" onclick="" style="cursor:hand;">搜索</button>
            </form>
        </div>
		<div class="shoppingbox">
        	<a class="subshopping" href="${ctx }/myshopcart">
            	<span class="shop-pic"></span>
                <span class="shop-word">购物车</span>
                <strong class="shop-num">0</strong>
                <span class="shop-rem"></span>
            </a>
        </div>
        <div class="qrcodebox">
        	<span class="qrcode-name">安邦医药网</span>
            <img src="${ctxStatic }/images/er.png"></img>
        </div>	
    </div>
</div>

